﻿
namespace POSGui
{
    public class Constants
    {
        public const string CREDIT_CARD_VAR = "POS_Sale_Credit_Card";
        public const string SALE_STATUSES_VAR = "POS_Sale_Statuses";
        public const string SYSTEM_SESSION_VAR = "POS_System_Session";
        public const string CASHIER_VAR = "POS_Cashier";
        public const string SHOPPING_CART_VAR = "POS_Shopping_Cart";
        public const string CURRENT_SALE_VAR = "POS_Current_Sale_";

        //Direcciones
        public const string PAGE_LOGIN = "/Default.aspx"; 
        public const string PAGE_MENU = "/Presentacion/Menu.aspx";        
        public const string PAGE_PAYMENTS = "/Presentacion/Pagos.aspx";
        public const string PAGE_EXPIRED = "/Errors/Expired.aspx";
        
        public const string BUTTONS_URI = "../Graphics/Modules/";
        
        //Módulos
        public const string MODULE_RETURN = "Devoluciones";
        public const string MODULE_SALE = "Ventas";
        public const string MODULE_CONFIGURATION = "Configuracion";
        
        //Tipos de botones
        public const string BUTTON_TYPE_PLAIN = "PlainButton";
        public const string BUTTON_TYPE_FOCUS = "FocusButton";

        //Extensiones
        public const string IMAGE_TYPE = ".jpg";
        public const string PAGE_EXT = ".aspx";

        //Permisos
        public const string PERMISSION_LOGIN = "Iniciar Sesion";

        //Errores

        public const string SYSTEM_NOT_AVAILABLE_TITLE = "Sistema no disponible";

        public const string SYSTEM_NOT_AVAILABLE =
            "Error: El sistema no logró establecer una conexión con el servidor.";

        public const string USER_ERROR = "Error: El usuario no existe o la contraseña es incorrecta.";

        public const string SUCCESS_NOTIFICATION = "La operación se realizó con éxito";


        public const string ERROR_NOTIFICATION_TITLE = "No se pudo completar la solicitud";
        public const string ERROR_NOTIFICATION = "Error: La operación no se pudo realizar, por favor intente nuevamente.";

        public const string ERROR_NOT_AUTORIZED =
            "No se pudo autorizar la tarjeta mediante el Sistema de Cargo automático, puede realizarlo de manera manual e ingresar el código de autorización aquí:";

        public const string RESULT_INVALID_COUPON = "INVALID_COUPON";
        public const string RESULT_ALREADY_USED_COUPON = "ALREADY_USED_COUPON";
        public const string RESULT_NO_MATCHING_PRODUCTS_FOUND_COUPON = "NO_MATCHING_PRODUCTS_FOUND_COUPON";
        public const string RESULT_COUPON_APPLIED = "COUPON_APPLIED";
                       
        //Simbolos
        public const string MONEY_SYMBOL = "¢";
        public const double SALE_TAX = 0.13;

        //Tipos de Pago
        public const string PAYMENT_CARD = "Tarjeta";
        public const string PAYMENT_CASH = "Efectivo";
        public const string PAYMENT_BOTH = "Mixto";

        //Estado Venta

        public const string STATUS_PAUSED = "Pausada";
        public const string STATUS_CANCELLED = "Cancelada";
        public const string STATUS_INPROGRESS = "En Proceso";
        public const string STATUS_FINISHED = "Finalizada";
        public const string STATUS_PAYING = "Validando Pago";

        //Regular Expression
        public const string REG_EX_NATURAL_NUMBER = "^[1-9]+\\d*$";

        //Configuration and Miscelaneous
        public const string USER_WEB_SERVICE_CONN = "WebAgentConnection";
        public const string COMPANY_NAME = "SuperMercado";
        public const string STORE_ROOM_FILE = "/Bodega.xml";
        public const int INVALID_ID = -1;

        //XML Tags
        public const string TAG_STORE_ROOMS = "Bodegas";
        public const string TAG_STORE_ROOM = "Bodega";
        public const string TAG_STORE_ROOM_NAME = "Nombre";
    }
}
